package com.ruoyi.product.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 t_product
 *
 * @author tanfp
 * @date 2020-12-27
 */
@Data
public class Product extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String productName;

    /**
     * 商品简介
     */
    @Excel(name = "商品简介")
    private String productIntro;

    /**
     * 商品规格说明
     */
    @Excel(name = "商品规格说明")
    private String productSpec;

    /**
     * 销量
     */
    @Excel(name = "销量")
    private Integer saleNum;

    /**
     * 商品分类id
     */
    @Excel(name = "商品分类id")
    private Long classifyId;

    /**
     * 默认关联的图片表id
     */
    @Excel(name = "默认关联的图片表id")
    private Long imgId;

    /**
     * 默认关联的价格id
     */
    @Excel(name = "默认关联的价格id")
    private Long priceId;

    /**
     * 库存
     */
    @Excel(name = "库存")
    private Integer stock;

    /**
     * 商品排序
     */
    @Excel(name = "商品排序")
    private Integer sort;

    /**
     * 0未删除 1已删除
     */
    @Excel(name = "0未删除 1已删除")
    private Integer delStatus;

}
